import servive from '@/utils/request';

interface vrlibData {
  a: string | null;
}

interface libfloor {
  a: string;
  x?: string;
  y?: string;
}
export function vrlibData(params: vrlibData) {
  return servive({
    url: '/vrlib/vr_ifa_Lib_GetFloorMap.ashx',
    method: 'get',
    params,
    headers: { base64: true },
  });
}

export function libfloor(params: libfloor) {
  return servive({
    url: '/vrlib/vr_ifa_Lib_GetFloor.ashx',
    method: 'get',
    params,
    headers: { base64: true },
  });
}
